﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using DBManager.Admin;

namespace BO.Admin
{
    public class CompanyBO
    {
        public static DataTable GetAllCompanyByStatusBO(string status)
        {
            return Company.GetAllCompanyByStatus(status);
        }
        public static DataTable GetInfomationBO(string companyID)
        {
            return Company.GetInfomation(companyID);
        }
        public static DataTable GetAllCompanyBO(string search, string checkStatus)
        {
            return Company.GetAllCompany(search, checkStatus);
        }
        public static int AddCompanyBO(string NameCp, string Website, string Status, string Note, string Email, string Logo)
        {
            return Company.AddCompany(NameCp, Website, Status, Note, Email, Logo);
        }
        public static int EditCompanyBO(string NameCp, string Website, string Status, string Note, string Email, string Logo, string companyID)
        {
            return Company.EditCompany(NameCp, Website, Status, Note, Email, Logo, companyID);
        }
    }
}
